<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    const link = document.querySelector('a')
    console.log(link)
    const divs = document.querySelectorAll('div')
    console.log(divs)
    console.log(divs[0])
  </script>
</body>
</html>